package system.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.dao.DataAccessException;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Repository;

import system.common.Arguments;
import system.model.DB3_DbIDto;

import com.ibatis.sqlmap.client.SqlMapClient;

@Repository
public class DB3_DbIDao extends SqlMapClientDaoSupport {
	@Resource(name = "sqlMapClient3")
	protected void initDAO(SqlMapClient sqlMapClient) {
		this.setSqlMapClient(sqlMapClient);
	}
	
	/**
	 * DB_I_01 - list
	 * 
	 * @param arguments
	 * @return
	 * @throws DataAccessException
	 */
	@SuppressWarnings("unchecked")
	public List<DB3_DbIDto> db_i_01_list(Arguments arguments) throws DataAccessException {
		return getSqlMapClientTemplate().queryForList("DB_I.db_i_01_list", arguments);
	}
}
